package com.rotsel.mh3udb.app.models;

import android.graphics.Bitmap;

import java.util.ArrayList;

import com.rotsel.mh3udb.app.DataSource.DataManager;
import com.rotsel.mh3udb.app.Extra.BaseApplication;
import com.rotsel.mh3udb.app.lists.*;

public class WeaponModel {
	
	private int id;
	public int getId(){
		return this.id;
	}
	
	private String name;
	public String getName(){
		return this.name;
	}

    private int weaponTypeId;
    public int getWeaponTypeId(){
        return this.weaponTypeId;
    }

    private int weaponTreeId;
    public int getWeaponTreeId(){
        return this.weaponTreeId;
    }

    private int rarity;
    public int getRarity(){
        return this.rarity;
    }

    private int weaponUpgradeId;
    public int getWeaponUpgradeId(){
        return this.weaponUpgradeId;
    }

    private int rawDamage;
    public int getRawDamage(){
        return this.rawDamage;
    }

    private int buyingPrice;
    public int getBuyingPrice(){
        return this.buyingPrice;
    }

    private int sellingPrice;
    public int getSellingPrice(){
        return this.sellingPrice;
    }

    private int affinity;
    public int getAffinity(){
        return this.affinity;
    }

    private int defense;
    public int getDefense(){
        return this.defense;
    }

    private int slotCount;
    public int getSlotCount(){
        return this.slotCount;
    }

    private String description;
	public String getDescription(){
		return this.description;
	}

    private String sharpness;
    public String getSharpness(){
        return this.sharpness;
    }

    private String sharpnessUp;
    public String getSharpnessUp(){
        return this.sharpnessUp;
    }

    private int elementId;
    public int getElementId(){
        return this.elementId;
    }

    private int elementDamage;
    public int getElementDamage(){
        return this.elementDamage;
    }

    private int awakenElementId;
    public int getAwakenElementId(){return this.awakenElementId;}

	private int awakenElementDamage;
    public int getAwakenElementDamage(){return this.awakenElementDamage;}

    private int secondElementId;
    public int getSecondElementId(){return this.secondElementId;}

    private int secondElementDamage;
    public int getSecondElementDamage(){return this.secondElementDamage;}

	private int secondAwakenElementId;
    public int getSecondAwakenElementId(){return this.secondAwakenElementId;}

    private int secondAwakenElementDamage;
    public int getSecondAwakenElementDamage(){return this.secondAwakenElementDamage;}

    private int shellingId;
    public int getShellingId(){return this.shellingId;}

    private int shellingLvl;
    public int getShellingLvl(){return this.shellingLvl;}

    private int phialId;
    public int getPhialId(){return this.phialId;}

    private int reloadId;
    public int getReloadId(){return this.reloadId;}

    private int recoilId;
    public int getRecoilId(){return this.recoilId;}

    private int deviationId;
    public int getDeviationId(){return this.deviationId;}

    private int barrelDamage;
    public int getBarrelDamage(){return this.barrelDamage;}
	
	public WeaponModel (int id,
                        String name,
                        int weaponTypeId,
                        int weaponTreeId,
                        int rarity,
                        int weaponUpgradeId,
                        int rawDamage,
                        int buyingPrice,
                        int sellingPrice,
                        int affinity,
                        int defense,
                        int slotCount,
                        String description,
                        String sharpness,
                        String sharpnessUp,
                        int elementId,
                        int elementDamage,
                        int awakenElementId,
                        int awakenElementDamage,
                        int secondElementId,
                        int secondElementDamage,
                        int secondAwakenElementId,
                        int secondAwakenElementDamage,
                        int shellingId,
                        int shellingLvl,
                        int phialId,
                        int reloadId,
                        int recoilId,
                        int deviationId,
                        int barrelDamage){
        this.id = id;
        this.name = name;
        this.weaponTypeId = weaponTypeId;
        this.weaponTreeId = weaponTreeId;
        this.rarity = rarity;
        this.weaponUpgradeId = weaponUpgradeId;
        this.rawDamage = rawDamage;
        this.buyingPrice = buyingPrice;
        this.sellingPrice = sellingPrice;
        this.affinity = affinity;
        this.defense = defense;
        this.slotCount = slotCount;
        this.description = description;
        this.sharpness = sharpness;
        this.sharpnessUp = sharpnessUp;
        this.elementId = elementId;
        this.elementDamage = elementDamage;
        this.awakenElementId = awakenElementId;
        this.awakenElementDamage = awakenElementDamage;
        this.secondElementId = secondElementId;
        this.secondElementDamage = secondElementDamage;
        this.secondAwakenElementId = secondAwakenElementId;
        this.secondAwakenElementDamage = secondAwakenElementDamage;
        this.shellingId = shellingId;
        this.shellingLvl = shellingLvl;
        this.phialId = phialId;
        this.reloadId = reloadId;
        this.recoilId = recoilId;
        this.deviationId = deviationId;
        this.barrelDamage = barrelDamage;
	}

    public int getSharpnessImage(){
        return 0;//TODO: Draw image on every request
    }
	
}
